<?php 
?>
<?php $items = $inbox->getWorkItems();?>
<h1>Inbox (<?php echo count($items)?> Items)</h1>
<?php foreach($items as $item):?>
<h4><?php echo $item->getSubject()?></h4>
<p><?php echo $item->getMessage()?></p>
<?php $actions = $item->getActions();?>
<p>
<?php foreach($actions as $action):?>
	<a href="<?php echo url_for('wf_work_item_execute_action', array($item, $action));?>"><?php echo $action->getLabel()?></a>
<?php endforeach;?>
</p>
<?php endforeach;?>